home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Apps / Graphics / Viewers / GIFology / Gif.h < prev    next >
Text File  |  1992-12-25  |  2KB  |  63 lines

  1. /* 
  2.     File: Gif.h
  3.  
  4.     Written by: Georges CHAN
  5.  
  6.     Purpose: header file for Gif.m defines constant and
  7.              global variables used in Gif.m
  8.  
  9.     Copyright, All right reserved.
  10.  
  11.     Feel free to use this application.
  12.  
  13.     Date: July 92
  14.  
  15.     Note: The author disclaims all warranties with regard to this
  16.           software, including all implied warranties or merchantability,
  17.           in no event shall the author be liable for any special,
  18.           indirect or consequential damages or any damages whatsoever
  19.           resulting from loss of use, data or profits, whether in an
  20.           action of contract, negligence or other tortuous action,
  21.           arising out of or in connection with the use of this software.
  22.  
  23.           GIF is the copyright property of CompuServe Inc.,
  24.           GIF (sm) is a service mark property of CompuServe Inc.
  25.  
  26. */
  27.  
  28.  
  29. /* Generated by Interface Builder */
  30.  
  31. #import <objc/Object.h>
  32.  
  33. #define FNAMELEN 20  // maximum length of file name
  34. #define MAXLEN 100   // maximum length of full path name + file name
  35.  
  36. #define MAXIPERGIF 30 // max number of images per GIF
  37. #define MAXWIN 50     // max number of windows
  38.  
  39. @interface Gif:Object
  40. {
  41.     char home[MAXLEN];     // hold the whole path of the application
  42.     NXSize screamSize;     // size of the screen
  43.     NXCoord winX,          // x coordinate where to put the displayed window
  44.             winY;          // y coordinate where to put the displayed window
  45.     int winNum,            // remember the window number
  46.         cuNo[MAXWIN],      // remember image number currently displayed
  47.         noIm[MAXWIN],      // remember number of images in a GIF
  48.         useOrigin,         // flag to tell demo to use origin as described in GIF file
  49.         useScreenSize,     // flag to tell demo to use the screen size as described in the GIF file
  50.         command;           // hold composite type for doing composite of NXImages
  51.     id picture[MAXWIN][MAXIPERGIF],  // list of bit maps (or NXImage)
  52.        win[MAXWIN],                  // window to display images of a GIF file
  53.        composeBut;
  54.  
  55. }
  56.  
  57. - load:sender;
  58. - save:sender;
  59. - changeOrigin:sender;
  60. - animate:sender;
  61.  
  62. @end
  63.